package com.wxj.book.cms.pojo;

import java.util.Date;

public class User {
    /** 主键id */
    private Integer id;

    /** 学号 */
    private Integer stuNum;

    /** 密码 */
    private String password;

    /** 姓名 */
    private String name;

    /** 性别 */
    private Integer gender;

    /** 年龄 */
    private Integer age;

    /** 班级 */
    private String clazz;

    /** 专业 */
    private Integer major;

    /** 邮箱 */
    private String email;

    /** 个性签名 */
    private String sign;

    /** 头像 */
    private String headImg;

    /** 电话 */
    private String phone;

    /** 用户类别 */
    private Integer type;

    /** 用户状态 */
    private Integer status;

    /** 学制 */
    private Integer education;

    /** 入学时间 */
    private String inDate;

    /** 家庭住址 */
    private String homeAddress;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public User(Integer id, Integer stuNum, String password, String name, Integer gender, Integer age, String clazz, Integer major, String email, String sign, String headImg, String phone, Integer type, Integer status, Integer education, String inDate, String homeAddress, Date createTime, Date updateTime) {
        this.id = id;
        this.stuNum = stuNum;
        this.password = password;
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.clazz = clazz;
        this.major = major;
        this.email = email;
        this.sign = sign;
        this.headImg = headImg;
        this.phone = phone;
        this.type = type;
        this.status = status;
        this.education = education;
        this.inDate = inDate;
        this.homeAddress = homeAddress;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public User() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStuNum() {
        return stuNum;
    }

    public void setStuNum(Integer stuNum) {
        this.stuNum = stuNum;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClass(String clazz) {
        this.clazz = clazz == null ? null : clazz.trim();
    }

    public Integer getMajor() {
        return major;
    }

    public void setMajor(Integer major) {
        this.major = major;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign == null ? null : sign.trim();
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg == null ? null : headImg.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getEducation() {
        return education;
    }

    public void setEducation(Integer education) {
        this.education = education;
    }

    public String getInDate() {
        return inDate;
    }

    public void setInDate(String inDate) {
        this.inDate = inDate == null ? null : inDate.trim();
    }

    public String getHomeAddress() {
        return homeAddress;
    }

    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress == null ? null : homeAddress.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}